package cn.edu.sgu.www.mhxysy.entity.chongwu_shizhuang;

import cn.edu.sgu.www.mhxysy.consts.IdentifierPrefixes;
import cn.edu.sgu.www.mhxysy.util.StringUtils;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 宠物时装（月华幻衣）
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
@TableName("chongwu_shizhuang")
public class ChongwuShizhuang implements Serializable {
    private static final long serialVersionUID = 18L;

    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "ID")
    private String id;

    /**
     * 评分
     */
    @ApiModelProperty(value = "评分")
    private Integer score;

    /**
     * 穿戴状态
     * 0-未穿戴；1-穿戴中
     */
    @ApiModelProperty(value = "穿戴状态")
    private Integer wearStatus;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID")
    private String roleId;

    /**
     * 宠物ID
     */
    @ApiModelProperty(value = "宠物ID")
    private String chongwuId;

    /**
     * 时装类型ID
     */
    @ApiModelProperty(value = "时装类型ID")
    private Integer categoryId;

    public String uuid() {
        return IdentifierPrefixes.PREFIX_CHONGWU_SHIZHUANG + StringUtils.uuid();
    }

}